package com.qcby.service;

import com.qcby.entity.Result;
import com.qcby.entity.Teacher;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface TeacherService {
    Result login(Teacher teacher, HttpServletRequest request);

    Teacher findByWorkNumber(Teacher teacher);

    List<Teacher> SearchTeachers(Teacher teacher);
    int AddTeacher(Teacher teacher);
    int UpdateTeacher(Teacher teacher);
    int DeleteTeacher(Integer id);
    List<Teacher> SearchClassTeacher(Integer id);
}
